<?php

// include Psa_Dully class
include '../scripts/Psa_Dully.class.php';

// make new Psa_Dully object
$Psa_Dully = new Psa_Dully;
		
// Set path to folder with templates without '/' at the end.
// You can also do this my passing value as an argument to constructor 
// and skip this line (see second example).
$Psa_Dully->template_dir  = 'templates';

// assign some data for template
$Psa_Dully->assign('my_car_color','Black');
$Psa_Dully->assign('some_name','bla bla bla');

// display fetched template
$Psa_Dully->display('template.tpl');

?>